package com.mtx.iocHomeWork.constructorInjection;

import com.mtx.iocHomeWork.IGeLi;
import org.springframework.stereotype.Component;
@Component
public class ConstructorInjectionMoAttack {
    private IGeLi geLi;
    public ConstructorInjectionMoAttack(IGeLi iGeLi) {
        this.geLi = iGeLi;
    }
    public String cityGateAsk(){
        return geLi.GeLiName()+"构造函数,墨者革离!";
    }
}
